def acronym(phrase):
    list = phrase.split()
    res = []
    for ls in list:
        res.append(ls[0].upper())
    return res
phrase=input()
print(acronym(phrase))